home *** CD-ROM | disk | FTP | other *** search
- Short: Search memory for text
- Author: Kyzer/CSG
- Uploader: Kyzer/CSG <kyzer@4u.net>
- Type: util/cli
-
- Grepmem is named after a unix program that hunts through files for a string
- or a pattern. Except GrepMem doesn't do patterns. It searches for an exact
- match of the string you supply.
-
- You can also define which part of memory to search - if you don't, it will
- assume to search all chip memory.
-
- The program is pure and can be made resident.
-
- Of course it is not compatible with tools such as Enforcer and CyberGuard,
- for obvious reasons.
-
- Requires 2.0 or better.
-
- This is version 1.2: improvements include
- - code size almost halved (724 bytes instead of 1400)
- - much better hexadecimal number parsing
- - faster search
- - can now break out of search with CTRL-C
-
-
- HINTS:
- To define a search area, you must supply both a start and end address,
- which both must be valid hexadecimal numbers (these can begin with '0x' or
- '$' if you like).
-
- You do not have to, but it is a good idea to put "double quotes" round the
- string that you want to search for. Why? Well, getting your input into
- memory and printing it out a few times will leave some copies around in
- memory. If you put quotes around your string, it will search for the string
- WITHOUT THE QUOTES, and if it finds a copy that *is* in quotes, it will NOT
- match it.
-
- There is the PADZERO option which, if enabled, means GrepMem will print the
- addresses of matches with full 8 byte addresses, instead of using spaces.
-
- EXAMPLES:
- look through chipmem for a powerpacker file
- 1> grepmem "PP20"
- look through the amiga rom for references to Amiga
- 1> grepmem "Amiga" f80000 1000000
-
- ****************************************************************************
- * THIS PROGRAM IS PART OF THE "KYZER'S SMALLS" COLLECTION *
- * *
- * The KyzSmlClxn is a set of very small, but useful CLI commands. *
- * *
- * Source in assembler is included. Install by copying the command to C: *
- * *
- * Kyzer/CSG, 49 Fairview Road, AB22 8ZG, Scotland ---- kyzer@4u.net *
- ****************************************************************************
-
-
- ============================= Archive contents =============================
-
- Original Packed Ratio Date Time Name
- -------- ------- ----- --------- -------- -------------
- 724 619 14.5% 27-Apr-98 06:42:14 GrepMem
- 1788 801 55.2% 24-Apr-98 01:27:36 GrepMem.asm
- 2337 1099 52.9% 24-Apr-98 00:40:34 GrepMem.readme
- 812 427 47.4% 24-Apr-98 01:28:32 hex.asm
- 2447 1044 57.3% 24-Apr-98 01:27:44 search.asm
- -------- ------- ----- --------- --------
- 8108 3990 50.7% 27-Apr-98 19:11:02 5 files
-